package cn.tedu.tourism.hotel.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class HotelVO {
    @ApiModelProperty(value = "酒店id")
    Integer id;
    @ApiModelProperty(value = "酒店名称")
    String hotelName;
    @ApiModelProperty(value = "酒店地址")
    String address;
    @ApiModelProperty(value = "酒店城市")
    String city;
    @ApiModelProperty(value = "酒店省份")
    String province;
    @ApiModelProperty(value = "酒店电话")
    String phone;
    @ApiModelProperty(value = "酒店邮箱")
    String email;
    @ApiModelProperty(value = "酒店描述")
    String description;
    @ApiModelProperty(value = "酒店类型")
    String type;
    @ApiModelProperty(value = "酒店图片")
    String imgUrl;
    @ApiModelProperty(value = "酒店评分")
    String lvcard;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date updateTime;

}
